
#include <stdio.h>
#include <stdlib.h>
/**
 * @since August 25, 2013 12:36 p.m.
 * @version 1.0
 * @author Cesar Augusto Meneses Guzman
 * @return salida
 */

int mainRelationalOperators(int argc, char** argv) {
    #ifndef ONLINE_JUDGE
        freopen("main.in", "r", stdin);
    #endif
    long t, a, b, i;
    
    if (scanf("%ld", &t) == 1) {
        for(i = 0; i < t; i++) {
            scanf("%ld %ld", &a, &b);
            if (a > b) {
                printf(">\n");
            } else if (a < b) {
                printf("<\n");
            } else {
                printf("=\n");
            }
        }
    }
    return EXIT_SUCCESS;
}